# -*- mode: python; coding: utf-8; -*-
##--------------------------------------------------------------------------##
##
## Copyright (C) 1998-2003 Markus Oberhumer <markus@oberhumer.com>
## Copyright (C) 2003 Mt. Hood Playing Card Co.
## Copyright (C) 2005-2010 Skomoroh <skomoroh@users.sourceforge.net>
## Copyright (C) 2010-2013 Jeremy Austin-Bardo <tjaustinbardo@gmail.com>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
##
##--------------------------------------------------------------------------##
__docformat__ = 'restructuredtext en'

from . import  __common__ as mgame
from ...gamelib import info as gi


class HappyNewYear(mgame.AbstractMahjonggGame):
    __info__ = dict(id=5901, name='Half Mahjongg Happy New Year',
                    short_name='Happy New Year', ncards=72)
    __layout__ = ('0aafaajaanaceaciacmbedbehaelofdofhhflbgdbghaglohdohhaibbi'
                  'daighihaiiailhimainojmakaakeckhakjbkmbkoolmambbmdamghmham'
                  'iamlhmmamnondonhbodbohaolopdophhplbqdbqhaqlaseasiasmaufau'
                  'jaun')
    __version__ = 7.70


class K2(mgame.AbstractMahjonggGame):
    __info__ = dict(id=5902, name='Half Mahjongg K 2',
                    short_name='K 2', ncards=72, game_type=gi.GT.HIDDEN)
    __layout__ = ('0aagabcabehbfobghbhabiabkacgvcgadbidgadlaegvegbfaifgbfmag'
                  'gbhaihgbhmaigbjahjgbjmakgokgblahlgblmamgbnaingbnmaogbpaip'
                  'gbpmaqgvqgarbirgarlasgvsgatcatehtfotghthatiatkaug')
    __version__ = 7.70


class Abstract(mgame.AbstractMahjonggGame):
    __info__ = dict(id=5903, name='Half Mahjongg Abstract',
                    short_name='Abstract', ncards=72, game_type=gi.GT.HIDDEN)
    __layout__ = ('0aaaaagabcabebddadgadioedhehafchfdafeafhagahhaahdahgaiahj'
                  'aojbbjcajfakaalcamfamhanbhncandhngaogboiapdhqdaqiarcordar'
                  'ehrihsdasgasiatdauaaufhvbavcaviawaawehxeaxiaycayebyghzdaA'
                  'daAhaBbaBfhCfaCiaDcaDeaDghDhaEaaEi')
    __version__ = 7.70


class Smile(mgame.AbstractMahjonggGame):
    __info__ = dict(id=5904, name='Half Mahjongg Smile',
                    short_name='Smile', ncards=72)
    __layout__ = ('0bagoahbaibbebbkbccbcmbebbenaffbfjbgahgfbgoahfbhkbiabiobj'
                  'lbkabkobllbmabmoanfbnkboahofbooapfbpjbqbbqnbscbsmbtebtkbu'
                  'gouhbui')
    __version__ = 7.70


class Wall(mgame.AbstractMahjonggGame):
    __info__ = dict(id=5905, name='Half Mahjongg Wall',
                    short_name='Wall', ncards=72)
    __layout__ = ('0eaabacbaebagbaibakbameaoacaacoaeaaeoagaagoaiaaioakaakoam'
                  'aamoaoaaooaqaaqoasaasoauaauoawaawoayaayoaAaaAoaCaaCoeEabE'
                  'cbEebEgbEibEkbEmeEo')
    __version__ = 7.70


PROVIDES = [Abstract, HappyNewYear, K2, Smile, Wall]